/*
  vuex 最核心的管理对象store
 */
import Vue from 'vue'
import Vuex from 'vuex'
import state from './state'
import getters from './getters'
import actions from './actions'
import mutations from './mutations'

// 使用插件
Vue.use(Vuex);

// 暴露store 对象
export default new Vuex.Store({
  state,
  getters,
  actions,
  mutations
})
